package net.cl.support.framework;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import net.cl.mvc.wrappers.ActionContext;
import net.cl.mvc.wrappers.RequestContext;
import net.cl.mvc.wrappers.ResponseContext;

public class ActionSupport {

	private RequestContext request = ActionContext.getContext().getRequestContext();
	private ResponseContext response = ActionContext.getContext().getResponseContext();

	protected HttpServletRequest getRequest() {
		return request.getRequest();
	}

	protected HttpServletResponse getResponse() {
		return response.getResponse();
	}

	protected RequestContext getRequestContext() {
		return request;
	}

	protected ResponseContext getResponseContext() {
		return response;
	}

	public String execute() throws Exception {
		return "SUCCESS";
	}

}
